﻿using System.ComponentModel.DataAnnotations;

namespace CTP.CRM.Application.Dtos.OAuth
{
    /// <summary>
    /// 登录接口Input
    /// </summary>
    public class LoginInput
    {
        /// <summary>
        /// 账号/手机号
        /// </summary>
        /// <example>13459475357</example>
        [Required(ErrorMessage = "用户名不能为空")]
        public string Account { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        /// <example>e10adc3949ba59abbe56e057f20f883e</example>
        [Required(ErrorMessage = "密码不能为空")]
        public string Password { get; set; }
    }
}
